package com.ybxx.base.service;

import java.util.List;

import com.ybxx.base.model.Ban;
import com.ybxx.base.model.Community;
import com.ybxx.core.command.QueryFilter;
import com.ybxx.core.service.BaseService;

public interface CommunityService extends BaseService<Community> {
	public List<Community> queryPage(QueryFilter filter,String name,String loginid);
	public List<Community> queryTree(String loginid);

	public void saveTH(Community community, List<Ban> bans);
	public List<Community> queryNotFees(String loginid);
	public List<Community> queryNotHydropower(String loginid);
	public Community queryFees(String cid);
	public List<Community> queryFeesPage(QueryFilter filter,String loginid);
	public List<Community> queryHydropowerPage(QueryFilter filter,String loginid);
	public void saveBuildCharge(Community community);
	public void saveGLF(Community community);
	public List<Community> queryDataRightsAll();
	public void saveRoomFees(Community community);
	public void saveHealthFees(Community community);
	public Community show(String cid);
	/*检查管理费配置*/
	public int checkConfig(String unitid);
}
